//登录的请求发送
function loginApi(data){
    return $.ajax({
        // http://localhost:8080
        url: "/login",
        method: 'POST',
        contentType: 'application/json;charset=UTF-8',
        dataType: 'json',
        data: JSON.stringify(data)});
}


